package com.group.itms.routes.data;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable
public class Advertisement {

	public static final String IS_ACTIVE = "isActive";

	@DatabaseField(id = true)
	private int id;
	@DatabaseField
	private String image;
	@DatabaseField
	private String url;
	@DatabaseField(columnName = IS_ACTIVE)
	private boolean isActive;

	private int imageResId;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String Image) {
		this.image = Image;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public boolean isActive() {
		return isActive;
	}

	public void setActive(boolean isActive) {
		this.isActive = isActive;
	}

	public int getImageResId() {
		return imageResId;
	}

	public void setImageResId(int imageResId) {
		this.imageResId = imageResId;
	}

}
